/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.acworks.acroute.impl;

import com.acworks.acroute.Space;
import com.acworks.acroute.SpaceType;

/**
 *
 * @author nikita
 */
public class SpaceImpl implements Space {

    final private SpaceType spaceType;

    public SpaceImpl(SpaceType type) {
        assert type != null;
        spaceType = type;
    }

    @Override
    public SpaceType getSpaceType() {
        return spaceType;
    }

    @Override
    public String toString() {
        return super.toString() + "[spaceType=" + spaceType + "]";
    }
}
